<?php

session_start();
//Models
require_once ('Model/Database.php');
require_once ('Model/LoginHandler.php');
require_once ('Model/PostHandler.php');
require_once ('Model/RegisterHandler.php');
require_once ('Model/DBConfig.php');
require_once ('Model/Post.php');
require_once ('Model/PostHandler.php');
require_once ('Model/CommentHandler.php');
require_once ('Model/Comment.php');
//Views
require_once ('View/PostView.php');
require_once ('View/CommentView.php');
require_once ('View/LoginView.php');
require_once ('View/RegisterView.php');
require_once ('View/NavigationView.php');
//Controllers
require_once ('Controller/MasterController.php');
require_once ('Controller/LoginController.php');
require_once ('Controller/RegisterController.php');
require_once ('Controller/PostController.php');
require_once ('Controller/PostListController.php');
require_once ('Controller/PostNewController.php');
require_once ('Controller/CommentController.php');
//Common
require_once ("Common/Page.php");
require_once ("Common/Validator.php");
$xhtml = "";

$mc = new Controller\MasterController();

$xhtml .= $mc -> DoControll();

echo $xhtml;
